package indi.zhifa.study2025.oa.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.engine.core.common.ann.enums.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@EnumDesc(name = "数据权限类型")
@RequiredArgsConstructor
public enum EDataAuthType {
    NONE(0, "无权限","没有权限"),
    EXPRESSION(1, "表达式权限","表达式权限"),
    BOSS(2, "老板权限","老板权限");

    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String description;
}
